package top.tangyh.lamp.care.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import static com.baomidou.mybatisplus.annotation.SqlCondition.EQUAL;
import static top.tangyh.lamp.model.constant.Condition.LIKE;
import top.tangyh.basic.base.entity.Entity;


/**
 * <p>
 * 实体类
 * 床号设备绑定关系表
 * </p>
 *
 * @author zqb
 * @date 2024-08-23 15:19:59
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@Builder
@TableName("b_dev_bed_relation")
public class BDevBedRelation extends Entity<Integer> {
//    private static final long serialVersionUID = 1L;

    /**
     * 设备标识
     */
    @TableField(value = "dev_code", condition = LIKE)
    @Schema(description = "设备标识")
    private String devCode;
    /**
     * 床号
     */
    @TableField(value = "bed_number", condition = LIKE)
    @Schema(description = "床号")
    private String bedNumber;
    /**
     * 
     */
    @TableField(value = "create_time", condition = EQUAL)
    @Schema(description = "")
    private LocalDateTime createTime;
    /**
     * 设备类型 1监护仪 2呼吸机
     */
    @TableField(value = "dev_type", condition = EQUAL)
    @Schema(description = "设备类型 1监护仪 2呼吸机")
    private Boolean devType;



}
